import request from '@/utils/request'

// 查询标室类型列表
export function listBidroomtype(query) {
  return request({
    url: '/system/bidroomtype/list',
    method: 'get',
    params: query
  })
}

// 查询标室类型列表[不分页]
export function listsBidroomtype(query) {
  return request({
    url: '/system/bidroomtype/lists',
    method: 'get',
    params: query
  })
}

// 查询标室类型详细
export function getBidroomtype(id) {
  return request({
    url: '/system/bidroomtype/' + id,
    method: 'get'
  })
}

// 新增标室类型
export function addBidroomtype(data) {
  return request({
    url: '/system/bidroomtype',
    method: 'post',
    data: data
  })
}

// 修改标室类型
export function updateBidroomtype(data) {
  return request({
    url: '/system/bidroomtype',
    method: 'put',
    data: data
  })
}

// 删除标室类型
export function delBidroomtype(id) {
  return request({
    url: '/system/bidroomtype/' + id,
    method: 'delete'
  })
}
